Total Complexity | 37 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 189 |
Lines of code | 148 |
Logical lines of code | 66 |
Comment lines | 6 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
filter_subscription_payment_gateways() | 52 | 9 | 23 | |
process_checkout_subscription() | 56 | 4 | 18 | |
get_subscription_items() | 57 | 4 | 17 | |
prepare_subscription_data() | 48 | 3 | 32 | |
setup_subscription_schedules() | 56 | 4 | 17 | |
is_subscription_product() | 78 | 3 | 3 | |
has_trial_period() | 74 | 2 | 4 | |
maybe_apply_trial() | 73 | 2 | 5 | |
handle_signup_fee() | 69 | 2 | 6 | |
get_order_item_data() | 62 | 1 | 12 | |
__construct() | 80 | 1 | 3 | |
calculate_trial_end_date() | 73 | 1 | 4 | |
calculate_next_payment_date() | 73 | 1 | 4 |